_rrrr_aaaa_nnnn_dddd uses a multiplicative congruent random-number generator with period
2^32 that returns successive pseudo-random numbers in the range from 0 to
(2^15)-1.
The function _ssss_rrrr_aaaa_nnnn_dddd uses the argument _s_e_e_d as a seed for a new sequence of
pseudo-random numbers to be returned by subsequent calls to the function
_rrrr_aaaa_nnnn_dddd. If the function _ssss_rrrr_aaaa_nnnn_dddd is then called with the same _s_e_e_d value, the
sequence of pseudo-random numbers will be repeated. If the function _rrrr_aaaa_nnnn_dddd
is called before any calls to _ssss_rrrr_aaaa_nnnn_dddd have been made, the same sequence
will be generated as when _ssss_rrrr_aaaa_nnnn_dddd is first called with a _s_e_e_d value of 1.
_rrrr_aaaa_nnnn_dddd______rrrr is a reentrant version of _rrrr_aaaa_nnnn_dddd. If _rrrr_aaaa_nnnn_dddd______rrrr is called with the same
initial value for *_s_e_e_d and the value of *_s_e_e_d is not changed between
successive returns and calls to _rrrr_aaaa_nnnn_dddd______rrrr, the same sequence shall be
generated. This function is useful when multiple threads in a process
each wish to get their own repeatable pseudo-random number sequence. The
feature test macro ______SSSS_GGGG_IIII______RRRR_EEEE_EEEE_NNNN_TTTT_RRRR_AAAA_NNNN_TTTT______FFFF_UUUU_NNNN_CCCC_TTTT_IIII_OOOO_NNNN_SSSS should be defined to make
this function visible.
NNNNOOOOTTTTEEEESSSS
The spectral properties of _rrrr_aaaa_nnnn_dddd are limited. _dddd_rrrr_aaaa_nnnn_dddd_4444_8888(3C) and _rrrr_aaaa_nnnn_dddd_oooo_mmmm(3B)
provide a much better, though more elaborate, random-number generator.
In a multi-threaded program _rrrr_aaaa_nnnn_dddd is made MP safe by single-threading
access to the shared seed. For best performance threaded applications
should use _rrrr_aaaa_nnnn_dddd______rrrr instead.